﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace EADCA3MVCApp.Models
{
    public class LogOn
    {
        public LogOn(string passWord)
        {
            Password = passWord;
        }
        public LogOn()
        {
            Password = "";
        }
        string password;
        
        [Required]
        [DataType(DataType.Password)]
        [Display(Name = "Password")]
        public string Password 
        {   
            get
            {
                return password;
            }
            set
            {
                password = value;
            }

        }
    }
}